import datetime,cgi
import sys
import os
from google.appengine.ext.webapp import template
from google.appengine.ext import db
from google.appengine.ext import webapp
from google.appengine.api import users
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.dist import use_library
from os import environ
from models import *

class UserError(webapp.RequestHandler):
	def get(self):
		path = os.path.join(os.path.dirname(__file__),'usererror.html')#use template
		self.response.out.write(template.render(path,{}))#using template

application = webapp.WSGIApplication([('/usererror', UserError)],debug=True)

def main():
	run_wsgi_app(application)

if __name__ == "__main__":
	main()
